using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace WindowsApplication4
{
   public class Tribe
    {
                DataRow drTribe;

        public Tribe(DataRow tribe)
        {
            this.drTribe = tribe;

        }

       public int ID
       {
           get
           {
               return Convert.ToInt32( drTribe[World.CONSTS.TribesTable.Columns.IDIndex]);
           }
       }


        public string Name
        {
            get
            {
                return drTribe[World.CONSTS.TribesTable.Columns.NameIndex].ToString();
            }
        }

       public string Tag
       {
           get
           {
               return drTribe[World.CONSTS.TribesTable.Columns.TagIndex].ToString();
           }
       }

    }
}
